/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.comac.ins.common.tenant.core.TenantEntity;
import com.comac.ins.isfd.domain.bo.IsfdSectionBo;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 型材库对象 isfd_section
 *
 * @author hxloongs
 * @date 2024-07-30
 */
@Data
@AutoMapper(target = IsfdSectionBo.class)
@EqualsAndHashCode(callSuper = true)
@TableName("isfd_section")
public class IsfdSection extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 型材库id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 型材类型
     */
    private String type;

    /**
     * 唯一值
     */
    private String hashUniqueKey;

    /**
     * 编号
     */
    private String serialNumber;

    /**
     * 属性号
     */
    private String attributeNumber;

    /**
     * MAT1_ID
     */
    private String mat1Id;

    /**
     * ep铺层代号
     */
    private String epLayerCode;

    /**
     * alpha(度)
     */
    private Double alpha;

    /**
     * D（mm)
     */
    private Double D;

    /**
     * H(mm)
     */
    private Double H;

    /**
     * L(mm)
     */
    private Double L;

    /**
     * R1(mm)
     */
    private Double R1;

    /**
     * R2(mm)
     */
    private Double R2;

    /**
     * 密度
     */
    private Double Rho;

    /**
     * 热膨胀系数
     */
    private Double Thm;

    /**
     * W（mm)
     */
    private Double W;

    /**
     * W1（mm)
     */
    private Double W1;

    /**
     * W2（mm)
     */
    private Double W2;

    /**
     * t铺层代号
     */
    private String tLayerCode;

    /**
     * t1铺层代号
     */
    private String t1LayerCode;

    /**
     * t2铺层代号
     */
    private String t2LayerCode;

    /**
     * t3铺层代号
     */
    private String t3LayerCode;

    /**
     * 框底边到外形面距离
     */
    private Double botOuterDistance;

    /**
     * r
     */
    private Double r;

    /**
     * 有效高度
     */
    private Double effectiveHeight;

    /**
     * 厚度
     */
    private Double thickness;

    /**
     * 矩型段面积
     */
    private Double sRectangularSeg;

    /**
     * 弧形段面积
     */
    private Double sArcuateSeg;

    /**
     * 正确总面积(给H列也没用，参数化计算后程序会重算面积)
     */
    private Double sCorrectSeg;

    /**
     * 元数据管理id
     */
    private String metadataManagementId;

}
